cc_test(
  name = "all_test",
  size = "small",
  srcs = ["all_test.cpp"],
  deps = [    # 依赖我自己的库和googletest库
          ":bus",
          "@com_google_googletest//:gtest_main"
     ],
)

cc_library(
    name  = "bus",
    srcs  = ['bus.cpp'],
    hdrs  = ['bus.h', 'common.hpp'],
)
